<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html 	xmlns="http://www.w3.org/1999/xhtml"  
    	xmlns:h="http://java.sun.com/jsf/html"  
    	xmlns:f="http://java.sun.com/jsf/core"  
    	xmlns:p="http://primefaces.org/ui"
    	xmlns:ui="http://java.sun.com/jsf/facelets"
      	xmlns:a4j="http://richfaces.org/a4j">  

<h:head><p:panel id="titlePanel" header="Istanze acquistate"></p:panel></h:head> 
<body> 
	<p:carousel id="escursioniCarousel" value="#{istanzaBean.istanzeAcquistate}" var="istanzaDTO">  
	    <f:facet name="header">  
	            Istanze acquistate
	    </f:facet>  
	    <h:panelGrid columns="1" style="width:100%" cellpadding="2">    
	      	<h:outputText value="ID: #{istanzaDTO.id}" />   
	      	<h:outputText value="Data Partenza: #{istanzaDTO.dataPartenza}" />        
	        <h:outputText value="Data Ritorno: #{istanzaDTO.dataArrivo}" />
	      	<h:outputText value="Destinazione: #{istanzaDTO.destinazione}" />  	     
	    </h:panelGrid>   
	</p:carousel>  
</body> 
</html>
